<?php
// +----------------------------------------------------------------------
// | sfadmin - Suifeng Administration
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://suifeng.tech All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: suifeng <1787585212@qq.com>
// +----------------------------------------------------------------------

namespace suifeng\builder\form\control;

use suifeng\builder\form\Control;

class Image extends File
{
    /**
     * 上传类型。
     *
     * @var unknown
     */
    public $upload_type = 'image';

    /**
     * 允许的文件类型。
     *
     * @var unknown
     */
    public $file_exts = 'gif,jpg,jpeg,bmp,png';

    /**
     * 上传按钮文字。
     *
     * @var string
     */
    public $button_text = '上传图片';
}

?>
